package com.mzy.interview

import java.util.*

/**
 * @Author: mizy3
 * @Date: 2024/08/25/下午4:17
 * @Description:
 */
class 找到字符串中所有字母异位词 {
/*    fun findAnagrams(s: String, p: String): List<Int> {
*//*        val smap = mutableMapOf<Char, Int>()
        val pmap = mutableMapOf<Char, Int>()
        for (i in s.indices) {
            smap.putIfAbsent(s[i], smap.getOrDefault(s[i], 0) + 1)
        }
        for (i in p.indices){
            pmap.putIfAbsent(p[i], pmap.getOrDefault(p[i], 0) + 1)
        }
        Arrays.equals()

        for(i in 0..< (s.length - p.length)){

        }*//*
    }*/
}